//
//  comTableViewCell.m
//  穷游
//
//  Created by lanou3g on 15/12/21.
//  Copyright © 2015年 王忠奎. All rights reserved.
//

#import "comTableViewCell.h"
#import "comModel.h"
#import "UIImageView+WebCache.h"
@implementation comTableViewCell

- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}


//#pragma mark ---给cell赋值的方法
-(void)setCellDataWithModel:(comModel *)model withModel:(comModel *)model1
{

    [self.photoImage1 sd_setImageWithURL:[NSURL URLWithString:model.photo]];
    [self.photoImage2 sd_setImageWithURL:[NSURL URLWithString:model1.photo]];
    self.nameLabel1.text = model.name1;
    self.nameLabel2.text = model1.name1;
    self.totalLabel1.text = model.total_threads;
    self.totalLabel2.text = model1.total_threads;
    

}






@end
